_package("helloworld.page");

_import("caf.ui.Page");

/**
 * Detail页面
 */
_class("DetailPage", Page, function(){
    this._init = function(){
        _super._init.call(this);
        runtime.log("[DetailPage::_init]应用初始化");
    };

    this.init = function(obj){
        _super.init.apply(this, arguments);
        runtime.log("[DetailPage::init]应用初始化");
    };
    
	this.reset = function(params){
		_super.reset.apply(this, arguments);
		runtime.log("[DetailPage::reset]页面重置");
	};
	
	this.dispose = function(){
		_super.dispose.apply(this);
		runtime.log("[DetailPage::dispose]页面销毁");
	};
	
	this.do_home = function(act, sender){
		this._app.navPage('home');
	};
});